USE [quietRuoyi]
GO
/****** Object:  Table [dbo].[gen_table]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[gen_table](
	[table_id] [bigint] IDENTITY(1,1) NOT NULL,
	[table_name] [nvarchar](200) NULL,
	[table_comment] [nvarchar](500) NULL,
	[class_name] [nvarchar](100) NULL,
	[tpl_category] [nvarchar](200) NULL,
	[package_name] [nvarchar](100) NULL,
	[module_name] [nvarchar](30) NULL,
	[business_name] [nvarchar](30) NULL,
	[function_name] [nvarchar](50) NULL,
	[function_author] [nvarchar](50) NULL,
	[options] [nvarchar](1000) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL,
	[sub_table_name] [varchar](64) NULL,
	[sub_table_fk_name] [varchar](64) NULL,
	[gen_type] [char](1) NULL,
	[gen_path] [varchar](200) NULL,
 CONSTRAINT [PK__gen_tabl__B21E8F245E8A0973] PRIMARY KEY CLUSTERED
(
	[table_id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[gen_table_column]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[gen_table_column](
	[column_id] [bigint] IDENTITY(1,1) NOT NULL,
	[table_id] [nvarchar](64) NULL,
	[column_name] [nvarchar](200) NULL,
	[column_comment] [nvarchar](500) NULL,
	[column_type] [nvarchar](100) NULL,
	[java_type] [nvarchar](500) NULL,
	[java_field] [nvarchar](200) NULL,
	[is_pk] [nchar](1) NULL,
	[is_increment] [nchar](1) NULL,
	[is_required] [nchar](1) NULL,
	[is_insert] [nchar](1) NULL,
	[is_edit] [nchar](1) NULL,
	[is_list] [nchar](1) NULL,
	[is_query] [nchar](1) NULL,
	[query_type] [nvarchar](200) NULL,
	[html_type] [nvarchar](200) NULL,
	[dict_type] [nvarchar](200) NULL,
	[sort] [int] NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
 CONSTRAINT [PK__gen_tabl__E301851F625A9A57] PRIMARY KEY CLUSTERED
(
	[column_id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_config]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_config](
	[config_id] [int] IDENTITY(3,1) NOT NULL,
	[config_name] [nvarchar](100) NULL,
	[config_key] [nvarchar](100) NULL,
	[config_value] [nvarchar](100) NULL,
	[config_type] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_dept]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_dept](
	[dept_id] [int] IDENTITY(212,1) NOT NULL,
	[parent_id] [int] NULL,
	[ancestors] [nvarchar](50) NULL,
	[dept_name] [nvarchar](30) NULL,
	[order_num] [int] NULL,
	[leader] [nvarchar](20) NULL,
	[phone] [nvarchar](11) NULL,
	[email] [nvarchar](50) NULL,
	[status] [nchar](1) NULL,
	[del_flag] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_dict_data]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_dict_data](
	[dict_code] [int] IDENTITY(108,1) NOT NULL,
	[dict_sort] [int] NULL,
	[dict_label] [nvarchar](100) NULL,
	[dict_value] [nvarchar](100) NULL,
	[dict_type] [nvarchar](100) NULL,
	[css_class] [nvarchar](100) NULL,
	[list_class] [nvarchar](100) NULL,
	[is_default] [nchar](1) NULL,
	[status] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_dict_type]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_dict_type](
	[dict_id] [int] IDENTITY(102,1) NOT NULL,
	[dict_name] [nvarchar](100) NULL,
	[dict_type] [nvarchar](100) NULL,
	[status] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_logininfor]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_logininfor](
	[info_id] [int] IDENTITY(203,1) NOT NULL,
	[login_name] [nvarchar](50) NULL,
	[ipaddr] [nvarchar](50) NULL,
	[login_location] [nvarchar](255) NULL,
	[browser] [nvarchar](50) NULL,
	[os] [nvarchar](50) NULL,
	[status] [nchar](1) NULL,
	[msg] [nvarchar](255) NULL,
	[login_time] [datetime2](7) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_menu]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_menu](
	[menu_id] [int] IDENTITY(2038,1) NOT NULL,
	[menu_name] [nvarchar](50) NOT NULL,
	[parent_id] [int] NULL,
	[order_num] [int] NULL,
	[url] [nvarchar](200) NULL,
	[menu_type] [nchar](1) NULL,
	[visible] [nchar](1) NULL,
	[perms] [nvarchar](100) NULL,
	[icon] [nvarchar](100) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL,
	[target] [nvarchar](20) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_notice]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_notice](
	[notice_id] [int] IDENTITY(3,1) NOT NULL,
	[notice_title] [nvarchar](50) NOT NULL,
	[notice_type] [nchar](1) NOT NULL,
	[notice_content] [nvarchar](2000) NULL,
	[status] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](255) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_oper_log]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_oper_log](
	[oper_id] [int] IDENTITY(243,1) NOT NULL,
	[title] [nvarchar](50) NULL,
	[business_type] [int] NULL,
	[method] [nvarchar](100) NULL,
	[operator_type] [int] NULL,
	[oper_name] [nvarchar](50) NULL,
	[dept_name] [nvarchar](50) NULL,
	[oper_url] [nvarchar](255) NULL,
	[oper_ip] [nvarchar](50) NULL,
	[oper_location] [nvarchar](255) NULL,
	[oper_param] [nvarchar](3000) NULL,
	[status] [int] NULL,
	[error_msg] [nvarchar](2000) NULL,
	[oper_time] [datetime2](7) NULL,
	[request_method] [nvarchar](10) NULL,
	[json_result] [nvarchar](2000) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_post]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_post](
	[post_id] [int] IDENTITY(5,1) NOT NULL,
	[post_code] [nvarchar](64) NOT NULL,
	[post_name] [nvarchar](50) NOT NULL,
	[post_sort] [int] NOT NULL,
	[status] [nchar](1) NOT NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_role]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_role](
	[role_id] [int] IDENTITY(101,1) NOT NULL,
	[role_name] [nvarchar](30) NOT NULL,
	[role_key] [nvarchar](100) NOT NULL,
	[role_sort] [int] NOT NULL,
	[data_scope] [nchar](1) NULL,
	[status] [nchar](1) NOT NULL,
	[del_flag] [nchar](1) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_role_dept]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_role_dept](
	[role_id] [int] NOT NULL,
	[dept_id] [int] NOT NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_role_menu]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_role_menu](
	[role_id] [int] NOT NULL,
	[menu_id] [int] NOT NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_user]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_user](
	[user_id] [int] IDENTITY(101,1) NOT NULL,
	[dept_id] [int] NULL,
	[login_name] [nvarchar](30) NOT NULL,
	[user_name] [nvarchar](30) NOT NULL,
	[user_type] [nvarchar](2) NULL,
	[email] [nvarchar](50) NULL,
	[phonenumber] [nvarchar](11) NULL,
	[sex] [nchar](1) NULL,
	[avatar] [nvarchar](100) NULL,
	[password] [nvarchar](50) NULL,
	[salt] [nvarchar](20) NULL,
	[status] [nchar](1) NULL,
	[del_flag] [nchar](1) NULL,
	[login_ip] [nvarchar](50) NULL,
	[login_date] [datetime2](7) NULL,
	[create_by] [nvarchar](64) NULL,
	[create_time] [datetime2](7) NULL,
	[update_by] [nvarchar](64) NULL,
	[update_time] [datetime2](7) NULL,
	[remark] [nvarchar](500) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_user_online]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_user_online](
	[sessionId] [nvarchar](50) NOT NULL,
	[login_name] [nvarchar](50) NULL,
	[dept_name] [nvarchar](50) NULL,
	[ipaddr] [nvarchar](50) NULL,
	[login_location] [nvarchar](255) NULL,
	[browser] [nvarchar](50) NULL,
	[os] [nvarchar](50) NULL,
	[status] [nvarchar](10) NULL,
	[start_timestamp] [datetime2](7) NULL,
	[last_access_time] [datetime2](7) NULL,
	[expire_time] [int] NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_user_post]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_user_post](
	[user_id] [int] NOT NULL,
	[post_id] [int] NOT NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[sys_user_role]    Script Date: 2021/6/18 14:43:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sys_user_role](
	[user_id] [int] NOT NULL,
	[role_id] [int] NOT NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[gen_table] ON

INSERT [dbo].[gen_table] ([table_id], [table_name], [table_comment], [class_name], [tpl_category], [package_name], [module_name], [business_name], [function_name], [function_author], [options], [create_by], [create_time], [update_by], [update_time], [remark], [sub_table_name], [sub_table_fk_name], [gen_type], [gen_path]) VALUES (19, N'sys_role_dept', N'角色和部门关联表', N'SysRoleDept', N'crud', N'com.ruoyi.system', N'system', N'dept', N'角色和部门关联', N'ruoyi', NULL, N'admin', CAST(N'2020-07-20T17:14:09.5533333' AS DateTime2), N'', NULL, NULL, NULL, NULL, N'0', N'/')
INSERT [dbo].[gen_table] ([table_id], [table_name], [table_comment], [class_name], [tpl_category], [package_name], [module_name], [business_name], [function_name], [function_author], [options], [create_by], [create_time], [update_by], [update_time], [remark], [sub_table_name], [sub_table_fk_name], [gen_type], [gen_path]) VALUES (20, N'sys_notice', N'通知公告表', N'SysNotice', N'crud', N'com.ruoyi.system', N'system', N'notice', N'通知公告', N'ruoyi', NULL, N'admin', CAST(N'2020-07-20T17:14:10.3166667' AS DateTime2), N'', NULL, NULL, NULL, NULL, N'0', N'/')
INSERT [dbo].[gen_table] ([table_id], [table_name], [table_comment], [class_name], [tpl_category], [package_name], [module_name], [business_name], [function_name], [function_author], [options], [create_by], [create_time], [update_by], [update_time], [remark], [sub_table_name], [sub_table_fk_name], [gen_type], [gen_path]) VALUES (21, N'sys_post', N'岗位信息表', N'SysPost', N'crud', N'com.ruoyi.system', N'system', N'post', N'岗位信息', N'ruoyi', N'{"parentMenuId":"","treeName":"","treeParentCode":"","parentMenuName":"","treeCode":""}', N'admin', CAST(N'2020-07-20T17:14:10.9266667' AS DateTime2), N'', CAST(N'2020-07-20T17:14:30.6966667' AS DateTime2), N'', NULL, NULL, N'0', N'/')
SET IDENTITY_INSERT [dbo].[gen_table] OFF
SET IDENTITY_INSERT [dbo].[gen_table_column] ON

INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (136, N'19', N'role_id', N'角色ID', N'int', N'Long', N'roleId', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 1, N'admin', CAST(N'2020-07-20T17:14:10.2233333' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (137, N'19', N'dept_id', N'部门ID', N'int', N'Long', N'deptId', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 2, N'admin', CAST(N'2020-07-20T17:14:10.2700000' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (138, N'20', N'notice_id', N'公告ID', N'int', N'Long', N'noticeId', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 1, N'admin', CAST(N'2020-07-20T17:14:10.5066667' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (139, N'20', N'notice_title', N'公告标题', N'nvarchar', NULL, N'noticeTitle', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', NULL, N'', 2, N'admin', CAST(N'2020-07-20T17:14:10.5533333' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (140, N'20', N'notice_type', N'公告类型（1通知 2公告）', N'nchar', NULL, N'noticeType', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'select', N'', 3, N'admin', CAST(N'2020-07-20T17:14:10.6000000' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (141, N'20', N'notice_content', N'公告内容', N'nvarchar', NULL, N'noticeContent', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', NULL, N'', 4, N'admin', CAST(N'2020-07-20T17:14:10.6300000' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (142, N'20', N'status', N'公告状态（0正常 1关闭）', N'nchar', NULL, N'status', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'radio', N'', 5, N'admin', CAST(N'2020-07-20T17:14:10.6766667' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (143, N'20', N'create_by', N'创建者', N'nvarchar', NULL, N'createBy', NULL, NULL, NULL, N'1', NULL, NULL, NULL, N'EQ', NULL, N'', 6, N'admin', CAST(N'2020-07-20T17:14:10.7233333' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (144, N'20', N'create_time', N'创建时间', N'datetime2', NULL, N'createTime', NULL, NULL, NULL, N'1', NULL, NULL, NULL, N'EQ', NULL, N'', 7, N'admin', CAST(N'2020-07-20T17:14:10.7566667' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (145, N'20', N'update_by', N'更新者', N'nvarchar', NULL, N'updateBy', NULL, NULL, NULL, N'1', N'1', NULL, NULL, N'EQ', NULL, N'', 8, N'admin', CAST(N'2020-07-20T17:14:10.8033333' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (146, N'20', N'update_time', N'更新时间', N'datetime2', NULL, N'updateTime', NULL, NULL, NULL, N'1', N'1', NULL, NULL, N'EQ', NULL, N'', 9, N'admin', CAST(N'2020-07-20T17:14:10.8333333' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (147, N'20', N'remark', N'备注', N'nvarchar', NULL, N'remark', NULL, NULL, NULL, N'1', N'1', N'1', NULL, N'EQ', NULL, N'', 10, N'admin', CAST(N'2020-07-20T17:14:10.8800000' AS DateTime2), N'', NULL)
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (148, N'21', N'post_id', N'岗位ID', N'int', N'Long', N'postId', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 1, N'admin', CAST(N'2020-07-20T17:14:11.1466667' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:30.7266667' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (149, N'21', N'post_code', N'岗位编码', N'nvarchar', N'Long', N'postCode', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 2, N'admin', CAST(N'2020-07-20T17:14:11.1766667' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:30.7900000' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (150, N'21', N'post_name', N'岗位名称', N'nvarchar', N'Long', N'postName', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'LIKE', N'input', N'', 3, N'admin', CAST(N'2020-07-20T17:14:11.2233333' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:30.8200000' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (151, N'21', N'post_sort', N'显示顺序', N'int', N'Long', N'postSort', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'input', N'', 4, N'admin', CAST(N'2020-07-20T17:14:11.2566667' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:30.9000000' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (152, N'21', N'status', N'状态（0正常 1停用）', N'nchar', N'Long', N'status', NULL, NULL, NULL, N'1', N'1', N'1', N'1', N'EQ', N'radio', N'', 5, N'admin', CAST(N'2020-07-20T17:14:11.3033333' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:30.9933333' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (153, N'21', N'create_by', N'创建者', N'nvarchar', N'Long', N'createBy', NULL, NULL, NULL, N'1', NULL, NULL, NULL, N'EQ', N'input', N'', 6, N'admin', CAST(N'2020-07-20T17:14:11.3500000' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:31.0400000' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (154, N'21', N'create_time', N'创建时间', N'datetime2', N'Long', N'createTime', NULL, NULL, NULL, N'1', NULL, NULL, NULL, N'EQ', N'input', N'', 7, N'admin', CAST(N'2020-07-20T17:14:11.3800000' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:31.0866667' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (155, N'21', N'update_by', N'更新者', N'nvarchar', N'Long', N'updateBy', NULL, NULL, NULL, N'1', N'1', NULL, NULL, N'EQ', N'input', N'', 8, N'admin', CAST(N'2020-07-20T17:14:11.4266667' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:31.1633333' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (156, N'21', N'update_time', N'更新时间', N'datetime2', N'Long', N'updateTime', NULL, NULL, NULL, N'1', N'1', NULL, NULL, N'EQ', N'input', N'', 9, N'admin', CAST(N'2020-07-20T17:14:11.4600000' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:31.2133333' AS DateTime2))
INSERT [dbo].[gen_table_column] ([column_id], [table_id], [column_name], [column_comment], [column_type], [java_type], [java_field], [is_pk], [is_increment], [is_required], [is_insert], [is_edit], [is_list], [is_query], [query_type], [html_type], [dict_type], [sort], [create_by], [create_time], [update_by], [update_time]) VALUES (157, N'21', N'remark', N'备注', N'nvarchar', N'Long', N'remark', NULL, NULL, NULL, N'1', N'1', N'1', NULL, N'EQ', N'input', N'', 10, N'admin', CAST(N'2020-07-20T17:14:11.5066667' AS DateTime2), NULL, CAST(N'2020-07-20T17:14:31.2900000' AS DateTime2))
SET IDENTITY_INSERT [dbo].[gen_table_column] OFF
SET IDENTITY_INSERT [dbo].[sys_config] ON

INSERT [dbo].[sys_config] ([config_id], [config_name], [config_key], [config_value], [config_type], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, N'主框架页-默认皮肤样式名称', N'sys.index.skinName', N'skin-blue', N'Y', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow')
INSERT [dbo].[sys_config] ([config_id], [config_name], [config_key], [config_value], [config_type], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, N'用户管理-账号初始密码', N'sys.user.initPassword', N'123456', N'Y', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'初始化密码 123456')
INSERT [dbo].[sys_config] ([config_id], [config_name], [config_key], [config_value], [config_type], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (3, N'主框架页-侧边栏主题', N'sys.index.sideTheme', N'theme-dark', N'Y', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:27:09.0500000' AS DateTime2), N'深色主题theme-dark，浅色主题theme-light， 深蓝主题theme-blue')
SET IDENTITY_INSERT [dbo].[sys_config] OFF
SET IDENTITY_INSERT [dbo].[sys_dept] ON

INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (100, 0, N'0', N'若依集团', 0, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:13:29.9770000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (101, 100, N'0,100', N'深圳总公司', 1, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:13:29.9770000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (102, 100, N'0,100', N'北京分公司', 2, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-03-04T11:01:46.6430000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (103, 101, N'0,100,101', N'研发部门', 1, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:13:29.8230000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (104, 101, N'0,100,101', N'市场部门', 2, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-06-10T11:46:25.2100000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (105, 101, N'0,100,101', N'测试部门', 3, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:25:01.9300000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (106, 101, N'0,100,101', N'财务部门', 4, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (107, 101, N'0,100,101', N'运维部门', 5, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (108, 102, N'0,100,102', N'市场部门', 1, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (109, 102, N'0,100,102', N'财务部门', 2, N'若依', N'15888888888', N'ry@qq.com', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (213, 103, N'0,100,101,103', N'231321312wqeqwe', 321, N'1231', N'17615811987', N'13@11ws', N'0', N'2', N'admin', CAST(N'2019-08-07T16:29:20.0430000' AS DateTime2), N'admin', CAST(N'2019-08-07T16:29:50.1570000' AS DateTime2))
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (214, 100, N'0,100', N'市场部门', 2, N'若依', N'17615811605', N'guojing@qumawangluo.com', N'0', N'2', N'admin', CAST(N'2019-08-07T16:42:21.7900000' AS DateTime2), N'', NULL)
INSERT [dbo].[sys_dept] ([dept_id], [parent_id], [ancestors], [dept_name], [order_num], [leader], [phone], [email], [status], [del_flag], [create_by], [create_time], [update_by], [update_time]) VALUES (215, 103, N'0,100,101,103', N'市场部门', 2, N'若依', N'17615811987', N'3222828082@qq.com', N'0', N'2', N'admin', CAST(N'2019-08-07T17:13:47.9430000' AS DateTime2), N'', NULL)
SET IDENTITY_INSERT [dbo].[sys_dept] OFF
SET IDENTITY_INSERT [dbo].[sys_dict_data] ON

INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, 1, N'男', N'0', N'sys_user_sex', N'', N'', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'性别男')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, 2, N'女', N'1', N'sys_user_sex', N'', N'', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'性别女')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (3, 3, N'未知', N'2', N'sys_user_sex', N'', N'', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'性别未知')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (4, 1, N'显示', N'0', N'sys_show_hide', N'', N'primary', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'显示菜单')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (5, 2, N'隐藏', N'1', N'sys_show_hide', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'隐藏菜单')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (6, 1, N'正常', N'0', N'sys_normal_disable', N'', N'primary', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'正常状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (7, 2, N'停用', N'1', N'sys_normal_disable', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'停用状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (8, 1, N'正常', N'0', N'sys_job_status', N'', N'primary', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'正常状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (9, 2, N'暂停', N'1', N'sys_job_status', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'停用状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (10, 1, N'默认', N'DEFAULT', N'sys_job_group', N'', N'', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'默认分组')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (11, 2, N'系统', N'SYSTEM', N'sys_job_group', N'', N'', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统分组')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (12, 1, N'是', N'Y', N'sys_yes_no', N'', N'primary', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统默认是')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (13, 2, N'否', N'N', N'sys_yes_no', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统默认否')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (14, 1, N'通知', N'1', N'sys_notice_type', N'', N'warning', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'通知')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (15, 2, N'公告', N'2', N'sys_notice_type', N'', N'success', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'公告')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (16, 1, N'正常', N'0', N'sys_notice_status', N'', N'primary', N'Y', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'正常状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (17, 2, N'关闭', N'1', N'sys_notice_status', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'关闭状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (18, 1, N'新增', N'1', N'sys_oper_type', N'', N'info', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:22:17.0800000' AS DateTime2), N'新增操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (19, 2, N'修改', N'2', N'sys_oper_type', N'', N'info', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'修改操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (20, 3, N'删除', N'3', N'sys_oper_type', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'删除操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (21, 4, N'授权', N'4', N'sys_oper_type', N'', N'primary', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'授权操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (22, 5, N'导出', N'5', N'sys_oper_type', N'', N'warning', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'导出操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (23, 6, N'导入', N'6', N'sys_oper_type', N'', N'warning', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'导入操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (24, 7, N'强退', N'7', N'sys_oper_type', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'强退操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (25, 8, N'生成代码', N'8', N'sys_oper_type', N'', N'warning', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'生成操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (26, 9, N'清空数据', N'9', N'sys_oper_type', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'清空操作')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (108, 1, N'成功', N'0', N'sys_common_status', N'', N'primary', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'正常状态')
INSERT [dbo].[sys_dict_data] ([dict_code], [dict_sort], [dict_label], [dict_value], [dict_type], [css_class], [list_class], [is_default], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (109, 2, N'失败', N'1', N'sys_common_status', N'', N'danger', N'N', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'停用状态')
SET IDENTITY_INSERT [dbo].[sys_dict_data] OFF
SET IDENTITY_INSERT [dbo].[sys_dict_type] ON

INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, N'用户性别', N'sys_user_sex', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:19:25.5200000' AS DateTime2), N'用户性别列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, N'菜单状态', N'sys_show_hide', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'菜单状态列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (3, N'系统开关', N'sys_normal_disable', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统开关列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (4, N'任务状态', N'sys_job_status', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'任务状态列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (5, N'任务分组', N'sys_job_group', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:25:11.6230000' AS DateTime2), N'任务分组列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (6, N'系统是否', N'sys_yes_no', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统是否列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (7, N'通知类型', N'sys_notice_type', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'通知类型列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (8, N'通知状态', N'sys_notice_status', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'通知状态列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (9, N'操作类型', N'sys_oper_type', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'操作类型列表')
INSERT [dbo].[sys_dict_type] ([dict_id], [dict_name], [dict_type], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (103, N'系统状态', N'sys_common_status', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'登录状态列表')
SET IDENTITY_INSERT [dbo].[sys_dict_type] OFF
SET IDENTITY_INSERT [dbo].[sys_logininfor] ON

INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (203, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'1', N'密码输入错误1次', CAST(N'2021-06-17T17:25:37.2533333' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (204, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'1', N'密码输入错误2次', CAST(N'2021-06-17T17:25:54.9400000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (205, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'1', N'密码输入错误3次', CAST(N'2021-06-17T17:26:01.5366667' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (206, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'1', N'密码输入错误4次', CAST(N'2021-06-17T17:27:37.2533333' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (207, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:28:14.5600000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (208, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:31:31.7500000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (209, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:33:15.9533333' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (210, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:35:32.2733333' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (211, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:44:47.9500000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (212, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-17T17:46:54.1700000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (213, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'1', N'验证码错误', CAST(N'2021-06-18T10:18:29.2133333' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (214, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-18T10:18:32.6400000' AS DateTime2))
INSERT [dbo].[sys_logininfor] ([info_id], [login_name], [ipaddr], [login_location], [browser], [os], [status], [msg], [login_time]) VALUES (215, N'admin', N'127.0.0.1', N'内网IP', N'Chrome', N'Windows 10', N'0', N'登录成功', CAST(N'2021-06-18T11:20:43.1333333' AS DateTime2))
SET IDENTITY_INSERT [dbo].[sys_logininfor] OFF
SET IDENTITY_INSERT [dbo].[sys_menu] ON

INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1, N'系统管理', 0, 1, N'#', N'M', N'0', N'', N'fa fa-gear', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-06-10T11:46:29.5100000' AS DateTime2), N'系统管理目录', N'menuItem')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (2, N'系统监控', 0, 2, N'#', N'M', N'0', N'', N'fa fa-video-camera', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-11-26T17:29:32.7730000' AS DateTime2), N'系统监控目录', N'menuItem')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (3, N'系统工具', 0, 3, N'#', N'M', N'0', N'', N'fa fa-wrench', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-08T13:55:36.9170000' AS DateTime2), N'系统工具目录', N'menuItem')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (100, N'用户管理', 1, 1, N'/system/user', N'C', N'0', N'system:user:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'用户管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (101, N'角色管理', 1, 2, N'/system/role', N'C', N'0', N'system:role:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'角色管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (102, N'菜单管理', 1, 3, N'/system/menu', N'C', N'0', N'system:menu:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'菜单管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (103, N'部门管理', 1, 4, N'/system/dept', N'C', N'0', N'system:dept:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'部门管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (104, N'岗位管理', 1, 5, N'/system/post', N'C', N'0', N'system:post:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'岗位管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (105, N'字典管理', 1, 6, N'/system/dict', N'C', N'0', N'system:dict:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'字典管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (106, N'参数设置', 1, 7, N'/system/config', N'C', N'0', N'system:config:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'参数设置菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (107, N'通知公告', 1, 8, N'/system/notice', N'C', N'0', N'system:notice:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'通知公告菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (108, N'日志管理', 1, 9, N'#', N'M', N'0', N'', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'日志管理菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (109, N'在线用户', 2, 1, N'/monitor/online', N'C', N'0', N'monitor:online:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'在线用户菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (110, N'定时任务', 2, 2, N'/monitor/job', N'C', N'1', N'monitor:job:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'定时任务菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (111, N'数据监控', 2, 3, N'/monitor/data', N'C', N'0', N'monitor:data:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'数据监控菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (112, N'服务监控', 2, 3, N'/monitor/server', N'C', N'0', N'monitor:server:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'服务监控菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (113, N'表单构建', 3, 1, N'/tool/build', N'C', N'0', N'tool:build:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'表单构建菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (114, N'代码生成', 3, 2, N'/tool/gen', N'C', N'0', N'tool:gen:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'代码生成菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (115, N'系统接口', 3, 3, N'/tool/swagger', N'C', N'0', N'tool:swagger:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'系统接口菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (500, N'操作日志', 108, 1, N'/monitor/operlog', N'C', N'0', N'monitor:operlog:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'操作日志菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (501, N'登录日志', 108, 2, N'/monitor/logininfor', N'C', N'0', N'monitor:logininfor:view', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'登录日志菜单', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1000, N'用户查询', 100, 1, N'#', N'F', N'0', N'system:user:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1001, N'用户新增', 100, 2, N'#', N'F', N'0', N'system:user:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1002, N'用户修改', 100, 3, N'#', N'F', N'0', N'system:user:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1003, N'用户删除', 100, 4, N'#', N'F', N'0', N'system:user:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1004, N'用户导出', 100, 5, N'#', N'F', N'0', N'system:user:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1005, N'用户导入', 100, 6, N'#', N'F', N'0', N'system:user:import', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1006, N'重置密码', 100, 7, N'#', N'F', N'0', N'system:user:resetPwd', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1007, N'角色查询', 101, 1, N'#', N'F', N'0', N'system:role:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1008, N'角色新增', 101, 2, N'#', N'F', N'0', N'system:role:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1009, N'角色修改', 101, 3, N'#', N'F', N'0', N'system:role:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1010, N'角色删除', 101, 4, N'#', N'F', N'0', N'system:role:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1011, N'角色导出', 101, 5, N'#', N'F', N'0', N'system:role:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1012, N'菜单查询', 102, 1, N'#', N'F', N'0', N'system:menu:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1013, N'菜单新增', 102, 2, N'#', N'F', N'0', N'system:menu:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1014, N'菜单修改', 102, 3, N'#', N'F', N'0', N'system:menu:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1015, N'菜单删除', 102, 4, N'#', N'F', N'0', N'system:menu:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1016, N'部门查询', 103, 1, N'#', N'F', N'0', N'system:dept:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1017, N'部门新增', 103, 2, N'#', N'F', N'0', N'system:dept:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1018, N'部门修改', 103, 3, N'#', N'F', N'0', N'system:dept:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1019, N'部门删除', 103, 4, N'#', N'F', N'0', N'system:dept:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1020, N'岗位查询', 104, 1, N'#', N'F', N'0', N'system:post:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1021, N'岗位新增', 104, 2, N'#', N'F', N'0', N'system:post:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1022, N'岗位修改', 104, 3, N'#', N'F', N'0', N'system:post:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1023, N'岗位删除', 104, 4, N'#', N'F', N'0', N'system:post:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1024, N'岗位导出', 104, 5, N'#', N'F', N'0', N'system:post:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1025, N'字典查询', 105, 1, N'#', N'F', N'0', N'system:dict:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1026, N'字典新增', 105, 2, N'#', N'F', N'0', N'system:dict:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1027, N'字典修改', 105, 3, N'#', N'F', N'0', N'system:dict:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1028, N'字典删除', 105, 4, N'#', N'F', N'0', N'system:dict:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1029, N'字典导出', 105, 5, N'#', N'F', N'0', N'system:dict:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1030, N'参数查询', 106, 1, N'#', N'F', N'0', N'system:config:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1031, N'参数新增', 106, 2, N'#', N'F', N'0', N'system:config:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1032, N'参数修改', 106, 3, N'#', N'F', N'0', N'system:config:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1033, N'参数删除', 106, 4, N'#', N'F', N'0', N'system:config:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1034, N'参数导出', 106, 5, N'#', N'F', N'0', N'system:config:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1035, N'公告查询', 107, 1, N'#', N'F', N'0', N'system:notice:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1036, N'公告新增', 107, 2, N'#', N'F', N'0', N'system:notice:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1037, N'公告修改', 107, 3, N'#', N'F', N'0', N'system:notice:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1038, N'公告删除', 107, 4, N'#', N'F', N'0', N'system:notice:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1039, N'操作查询', 500, 1, N'#', N'F', N'0', N'monitor:operlog:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1040, N'操作删除', 500, 2, N'#', N'F', N'0', N'monitor:operlog:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1041, N'详细信息', 500, 3, N'#', N'F', N'0', N'monitor:operlog:detail', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1042, N'日志导出', 500, 4, N'#', N'F', N'0', N'monitor:operlog:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1043, N'登录查询', 501, 1, N'#', N'F', N'0', N'monitor:logininfor:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1044, N'登录删除', 501, 2, N'#', N'F', N'0', N'monitor:logininfor:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1045, N'日志导出', 501, 3, N'#', N'F', N'0', N'monitor:logininfor:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1046, N'在线查询', 109, 1, N'#', N'F', N'0', N'monitor:online:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1047, N'批量强退', 109, 2, N'#', N'F', N'0', N'monitor:online:batchForceLogout', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1048, N'单条强退', 109, 3, N'#', N'F', N'0', N'monitor:online:forceLogout', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1049, N'任务查询', 110, 1, N'#', N'F', N'0', N'monitor:job:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1050, N'任务新增', 110, 2, N'#', N'F', N'0', N'monitor:job:add', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1051, N'任务修改', 110, 3, N'#', N'F', N'0', N'monitor:job:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1052, N'任务删除', 110, 4, N'#', N'F', N'0', N'monitor:job:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1053, N'状态修改', 110, 5, N'#', N'F', N'0', N'monitor:job:changeStatus', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1054, N'任务详细', 110, 6, N'#', N'F', N'0', N'monitor:job:detail', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1055, N'任务导出', 110, 7, N'#', N'F', N'0', N'monitor:job:export', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1056, N'生成查询', 114, 1, N'#', N'F', N'0', N'tool:gen:list', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (1057, N'生成代码', 114, 2, N'#', N'F', N'0', N'tool:gen:edit', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (2042, N'生成删除', 114, 3, N'#', N'F', N'0', N'tool:gen:remove', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (2043, N'预览代码', 114, 4, N'#', N'F', N'0', N'tool:gen:preview', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
INSERT [dbo].[sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [url], [menu_type], [visible], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark], [target]) VALUES (2044, N'生成代码', 114, 5, N'#', N'F', N'0', N'tool:gen:code', N'#', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'', N'')
SET IDENTITY_INSERT [dbo].[sys_menu] OFF
SET IDENTITY_INSERT [dbo].[sys_notice] ON

INSERT [dbo].[sys_notice] ([notice_id], [notice_title], [notice_type], [notice_content], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, N'温馨提醒：2018-07-01 若依新版本发布啦', N'2', N'新版本内容1', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-06-10T11:38:26.6930000' AS DateTime2), N'管理员')
INSERT [dbo].[sys_notice] ([notice_id], [notice_title], [notice_type], [notice_content], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, N'维护通知：2018-07-01 若依系统凌晨维护', N'1', N'<p>维护内容</p>', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:25:38.5100000' AS DateTime2), N'管理员')
SET IDENTITY_INSERT [dbo].[sys_notice] OFF
SET IDENTITY_INSERT [dbo].[sys_oper_log] ON

INSERT [dbo].[sys_oper_log] ([oper_id], [title], [business_type], [method], [operator_type], [oper_name], [dept_name], [oper_url], [oper_ip], [oper_location], [oper_param], [status], [error_msg], [oper_time], [request_method], [json_result]) VALUES (243, N'操作日志', 9, N'com.ruoyi.web.controller.monitor.SysOperlogController.clean()', 1, N'admin', N'研发部门', N'/monitor/operlog/clean', N'127.0.0.1', N'内网IP', N'{ }', 0, NULL, CAST(N'2020-07-20T17:11:44.2633333' AS DateTime2), N'POST', N'{
  "msg" : "操作成功",
  "code" : 0
}')
INSERT [dbo].[sys_oper_log] ([oper_id], [title], [business_type], [method], [operator_type], [oper_name], [dept_name], [oper_url], [oper_ip], [oper_location], [oper_param], [status], [error_msg], [oper_time], [request_method], [json_result]) VALUES (244, N'登陆日志', 9, N'com.ruoyi.web.controller.monitor.SysLogininforController.clean()', 1, N'admin', N'研发部门', N'/monitor/logininfor/clean', N'127.0.0.1', N'内网IP', N'{ }', 0, NULL, CAST(N'2020-07-20T17:11:48.1400000' AS DateTime2), N'POST', N'{
  "msg" : "操作成功",
  "code" : 0
}')
INSERT [dbo].[sys_oper_log] ([oper_id], [title], [business_type], [method], [operator_type], [oper_name], [dept_name], [oper_url], [oper_ip], [oper_location], [oper_param], [status], [error_msg], [oper_time], [request_method], [json_result]) VALUES (245, N'代码生成', 6, N'com.ruoyi.generator.controller.GenController.importTableSave()', 1, N'admin', N'研发部门', N'/tool/gen/importTable', N'127.0.0.1', N'内网IP', N'{
  "tables" : [ "sys_user,sys_role,sys_post" ]
}', 1, N'导入失败：nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property=''tableName'', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId=''null'', jdbcTypeName=''null'', expression=''null''}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #2 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: com.microsoft.sqlserver.jdbc.SQLServerException: The index 2 is out of range.', CAST(N'2020-07-20T17:12:18.0633333' AS DateTime2), N'POST', N'null')
INSERT [dbo].[sys_oper_log] ([oper_id], [title], [business_type], [method], [operator_type], [oper_name], [dept_name], [oper_url], [oper_ip], [oper_location], [oper_param], [status], [error_msg], [oper_time], [request_method], [json_result]) VALUES (246, N'代码生成', 6, N'com.ruoyi.generator.controller.GenController.importTableSave()', 1, N'admin', N'研发部门', N'/tool/gen/importTable', N'127.0.0.1', N'内网IP', N'{
  "tables" : [ "sys_role_dept,sys_post,sys_notice" ]
}', 0, NULL, CAST(N'2020-07-20T17:14:11.6933333' AS DateTime2), N'POST', N'{
  "msg" : "操作成功",
  "code" : 0
}')
INSERT [dbo].[sys_oper_log] ([oper_id], [title], [business_type], [method], [operator_type], [oper_name], [dept_name], [oper_url], [oper_ip], [oper_location], [oper_param], [status], [error_msg], [oper_time], [request_method], [json_result]) VALUES (249, N'代码生成', 8, N'com.ruoyi.generator.controller.GenController.download()', 1, N'admin', N'研发部门', N'/tool/gen/download/sys_post', N'127.0.0.1', N'内网IP', N'{ }', 0, NULL, CAST(N'2020-07-20T17:14:35.8866667' AS DateTime2), N'GET', N'null')
SET IDENTITY_INSERT [dbo].[sys_oper_log] OFF
SET IDENTITY_INSERT [dbo].[sys_post] ON

INSERT [dbo].[sys_post] ([post_id], [post_code], [post_name], [post_sort], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, N'ceo', N'董事长', 11, N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T17:16:34.8530000' AS DateTime2), N'')
INSERT [dbo].[sys_post] ([post_id], [post_code], [post_name], [post_sort], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, N'se', N'项目经理', 2, N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:25:06.7430000' AS DateTime2), N'')
INSERT [dbo].[sys_post] ([post_id], [post_code], [post_name], [post_sort], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (3, N'hr', N'人力资源', 3, N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'')
INSERT [dbo].[sys_post] ([post_id], [post_code], [post_name], [post_sort], [status], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (4, N'user', N'普通员工', 4, N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'')
SET IDENTITY_INSERT [dbo].[sys_post] OFF
SET IDENTITY_INSERT [dbo].[sys_role] ON

INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, N'管理员', N'admin', 1, N'1', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-07T16:52:48.7570000' AS DateTime2), N'管理员')
INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, N'普通角色', N'common', 2, N'2', N'0', N'0', N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-08T13:54:11.9730000' AS DateTime2), N'普通角色')
INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (103, N'2111111111111111', N'222', 222, N'5', N'0', N'2', N'admin', CAST(N'2019-08-07T16:27:14.7500000' AS DateTime2), N'admin', CAST(N'2019-08-07T16:27:49.1030000' AS DateTime2), N'')
INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (104, N'1', N'1', 1, N'1', N'0', N'2', N'admin', CAST(N'2019-08-07T16:56:22.4630000' AS DateTime2), N'', NULL, N'1')
INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (105, N'12', N'12', 12, N'1', N'0', N'2', N'admin', CAST(N'2019-08-07T16:56:38.8970000' AS DateTime2), N'', NULL, N'12')
INSERT [dbo].[sys_role] ([role_id], [role_name], [role_key], [role_sort], [data_scope], [status], [del_flag], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (106, N'2222', N'2222', 2222, N'1', N'0', N'2', N'admin', CAST(N'2019-08-07T16:57:30.7570000' AS DateTime2), N'', NULL, N'2222')
SET IDENTITY_INSERT [dbo].[sys_role] OFF
INSERT [dbo].[sys_role_dept] ([role_id], [dept_id]) VALUES (2, 100)
INSERT [dbo].[sys_role_dept] ([role_id], [dept_id]) VALUES (2, 101)
INSERT [dbo].[sys_role_dept] ([role_id], [dept_id]) VALUES (2, 105)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 100)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 101)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 102)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 103)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 104)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 105)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 106)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 107)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 108)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 500)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 501)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1000)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1001)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1002)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1003)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1004)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1005)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1006)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1007)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1008)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1009)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1010)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1011)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1012)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1013)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1014)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1015)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1016)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1017)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1018)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1019)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1020)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1021)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1022)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1023)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1024)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1025)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1026)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1027)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1028)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1029)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1030)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1031)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1032)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1033)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1034)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1035)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1036)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1037)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1038)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1039)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1040)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1041)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1042)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1043)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1044)
INSERT [dbo].[sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1045)
SET IDENTITY_INSERT [dbo].[sys_user] ON

INSERT [dbo].[sys_user] ([user_id], [dept_id], [login_name], [user_name], [user_type], [email], [phonenumber], [sex], [avatar], [password], [salt], [status], [del_flag], [login_ip], [login_date], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1, 103, N'admin', N'若依', N'00', N'ry@163.com', N'15888888888', N'1', N'/profile/avatar/2020/05/06/eee5b449f0f07cfca0b86f13154838b3.png', N'29c67a30398638269fe600f73a054934', N'111111', N'0', N'0', N'127.0.0.1', CAST(N'2021-06-18T11:20:43.1070000' AS DateTime2), N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'ry', CAST(N'2021-06-18T11:20:43.1366667' AS DateTime2), N'管理员')
INSERT [dbo].[sys_user] ([user_id], [dept_id], [login_name], [user_name], [user_type], [email], [phonenumber], [sex], [avatar], [password], [salt], [status], [del_flag], [login_ip], [login_date], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (2, 106, N'ry', N'若依', N'00', N'ry@qq.com', N'15666666666', N'1', N'', N'8e6d98b90472783cc73c17047ddccf36', N'222222', N'0', N'0', N'127.0.0.1', CAST(N'2019-03-03T14:44:40.0000000' AS DateTime2), N'admin', CAST(N'2018-03-16T11:33:00.0000000' AS DateTime2), N'admin', CAST(N'2019-08-05T16:24:28.7970000' AS DateTime2), N'测试员')
SET IDENTITY_INSERT [dbo].[sys_user] OFF
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (1, 1)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (2, 2)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (104, 1)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (105, 1)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (106, 1)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (106, 3)
INSERT [dbo].[sys_user_post] ([user_id], [post_id]) VALUES (106, 4)
INSERT [dbo].[sys_user_role] ([user_id], [role_id]) VALUES (2, 2)
INSERT [dbo].[sys_user_role] ([user_id], [role_id]) VALUES (104, 1)
INSERT [dbo].[sys_user_role] ([user_id], [role_id]) VALUES (105, 1)
INSERT [dbo].[sys_user_role] ([user_id], [role_id]) VALUES (106, 1)
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('') FOR [table_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('') FOR [table_comment]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('') FOR [class_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('crud') FOR [tpl_category]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [package_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [module_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [business_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [function_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [function_author]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [options]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('') FOR [create_by]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('') FOR [update_by]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [sub_table_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT (NULL) FOR [sub_table_fk_name]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('0') FOR [gen_type]
GO
ALTER TABLE [dbo].[gen_table] ADD  DEFAULT ('/') FOR [gen_path]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [table_id]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [column_name]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [column_comment]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [column_type]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [java_type]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [java_field]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_pk]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_increment]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_required]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_insert]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_edit]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_list]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [is_query]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT ('EQ') FOR [query_type]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [html_type]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT ('') FOR [dict_type]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [sort]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT ('') FOR [create_by]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT ('') FOR [update_by]
GO
ALTER TABLE [dbo].[gen_table_column] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'') FOR [config_name]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'') FOR [config_key]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'') FOR [config_value]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'N') FOR [config_type]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_config] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT ((0)) FOR [parent_id]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'') FOR [ancestors]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'') FOR [dept_name]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT ((0)) FOR [order_num]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (NULL) FOR [leader]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (NULL) FOR [phone]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (NULL) FOR [email]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'0') FOR [del_flag]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_dept] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT ((0)) FOR [dict_sort]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'') FOR [dict_label]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'') FOR [dict_value]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'') FOR [dict_type]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (NULL) FOR [css_class]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (NULL) FOR [list_class]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'N') FOR [is_default]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_dict_data] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (N'') FOR [dict_name]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (N'') FOR [dict_type]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_dict_type] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [login_name]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [ipaddr]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [login_location]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [browser]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [os]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (N'') FOR [msg]
GO
ALTER TABLE [dbo].[sys_logininfor] ADD  DEFAULT (NULL) FOR [login_time]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT ((0)) FOR [parent_id]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT ((0)) FOR [order_num]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'#') FOR [url]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'') FOR [menu_type]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'0') FOR [visible]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (NULL) FOR [perms]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'#') FOR [icon]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT (N'') FOR [remark]
GO
ALTER TABLE [dbo].[sys_menu] ADD  DEFAULT ('') FOR [target]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (NULL) FOR [notice_content]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_notice] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [title]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ((0)) FOR [business_type]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [method]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ((0)) FOR [operator_type]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [oper_name]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [dept_name]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [oper_url]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [oper_ip]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [oper_location]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [oper_param]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ((0)) FOR [status]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT (N'') FOR [error_msg]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ('') FOR [oper_time]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ('') FOR [request_method]
GO
ALTER TABLE [dbo].[sys_oper_log] ADD  DEFAULT ('') FOR [json_result]
GO
ALTER TABLE [dbo].[sys_post] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_post] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_post] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_post] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_post] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (N'1') FOR [data_scope]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (N'0') FOR [del_flag]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_role] ADD  DEFAULT (NULL) FOR [remark]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (NULL) FOR [dept_id]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'00') FOR [user_type]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [email]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [phonenumber]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'0') FOR [sex]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [avatar]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [password]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [salt]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'0') FOR [status]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'0') FOR [del_flag]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [login_ip]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (NULL) FOR [login_date]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [create_by]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (NULL) FOR [create_time]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [update_by]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (NULL) FOR [update_time]
GO
ALTER TABLE [dbo].[sys_user] ADD  DEFAULT (N'') FOR [remark]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [sessionId]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [login_name]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [dept_name]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [ipaddr]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [login_location]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [browser]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [os]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (N'') FOR [status]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (NULL) FOR [start_timestamp]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT (NULL) FOR [last_access_time]
GO
ALTER TABLE [dbo].[sys_user_online] ADD  DEFAULT ((0)) FOR [expire_time]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'table_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'表名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'table_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'表描述' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'table_comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'实体类名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'class_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'使用的模板（crud单表操作 tree树表操作）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'tpl_category'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成包路径' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'package_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成模块名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'module_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成业务名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'business_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成功能名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'function_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成功能作者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'function_author'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'其它生成选项' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'options'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关联子表的表名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'sub_table_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'子表关联的外键名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'sub_table_fk_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成代码方式（0zip压缩包 1自定义路径）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'gen_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成路径（不填默认项目路径）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table', @level2type=N'COLUMN',@level2name=N'gen_path'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代码生成业务表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'column_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'归属表编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'table_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'column_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列描述' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'column_comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'column_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'JAVA类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'java_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'JAVA字段名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'java_field'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否主键（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_pk'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否自增（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_increment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否必填（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_required'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为插入字段（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_insert'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否编辑字段（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_edit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否列表字段（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_list'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否查询字段（1是）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'is_query'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'查询方式（等于、不等于、大于、小于、范围）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'query_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'html_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'dict_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代码生成业务表字段' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'gen_table_column'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'config_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'config_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数键名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'config_key'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数键值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'config_value'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统内置（Y是 N否）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'config_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数配置表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_config'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'dept_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父部门id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'parent_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'祖级列表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'ancestors'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'dept_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示顺序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'order_num'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'负责人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'leader'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'phone'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮箱' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除标志（0代表存在 2代表删除）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'del_flag'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dept'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'dict_code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'dict_sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典标签' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'dict_label'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典键值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'dict_value'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'dict_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'样式属性（其他样式扩展）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'css_class'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'表格回显样式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'list_class'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认（Y是 N否）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'is_default'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典数据表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_data'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'dict_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'dict_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'dict_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字典类型表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_dict_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'访问ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'info_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录账号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'login_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录IP地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'ipaddr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录地点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'login_location'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览器类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'browser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作系统' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'os'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录状态（0成功 1失败）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提示消息' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'msg'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'访问时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor', @level2type=N'COLUMN',@level2name=N'login_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统访问记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_logininfor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'menu_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'menu_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父菜单ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'parent_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示顺序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'order_num'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'请求地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'url'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单类型（M目录 C菜单 F按钮）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'menu_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单状态（0显示 1隐藏）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'visible'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'权限标识' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'perms'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单图标' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'icon'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打开方式（menuItem页签 menuBlank新窗口）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu', @level2type=N'COLUMN',@level2name=N'target'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单权限表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_menu'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公告ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'notice_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公告标题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'notice_title'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公告类型（1通知 2公告）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'notice_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公告内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'notice_content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公告状态（0正常 1关闭）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通知公告表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_notice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日志主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模块标题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'title'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业务类型（0其它 1新增 2修改 3删除）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'business_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方法名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'method'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作类别（0其它 1后台用户 2手机端用户）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'operator_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作人员' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'dept_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'请求URL' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_url'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主机地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_ip'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作地点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_location'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'请求参数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_param'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作状态（0正常 1异常）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'错误消息' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'error_msg'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'oper_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'请求方式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'request_method'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'返回参数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log', @level2type=N'COLUMN',@level2name=N'json_result'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作日志记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_oper_log'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'post_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'post_code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'post_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示顺序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'post_sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位信息表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_post'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'role_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'role_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色权限字符串' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'role_key'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示顺序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'role_sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据范围（1：全部数据权限 2：自定数据权限）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'data_scope'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除标志（0代表存在 2代表删除）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'del_flag'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色信息表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_dept', @level2type=N'COLUMN',@level2name=N'role_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_dept', @level2type=N'COLUMN',@level2name=N'dept_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色和部门关联表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_dept'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_menu', @level2type=N'COLUMN',@level2name=N'role_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_menu', @level2type=N'COLUMN',@level2name=N'menu_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色和菜单关联表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_role_menu'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'user_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'dept_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录账号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'login_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户昵称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'user_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户类型（00系统用户）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'user_type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户邮箱' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'phonenumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户性别（0男 1女 2未知）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'sex'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'头像路径' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'avatar'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'password'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'盐加密' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'salt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'帐号状态（0正常 1停用）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除标志（0代表存在 2代表删除）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'del_flag'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后登陆IP' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'login_ip'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后登陆时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'login_date'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'create_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'create_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'update_by'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'update_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户信息表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户会话id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'sessionId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录账号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'login_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'dept_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录IP地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'ipaddr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录地点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'login_location'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览器类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'browser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作系统' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'os'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线状态on_line在线off_line离线' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'session创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'start_timestamp'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'session最后访问时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'last_access_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'超时时间，单位为分钟' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online', @level2type=N'COLUMN',@level2name=N'expire_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线用户记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_online'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_post', @level2type=N'COLUMN',@level2name=N'user_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_post', @level2type=N'COLUMN',@level2name=N'post_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户与岗位关联表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_post'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_role', @level2type=N'COLUMN',@level2name=N'user_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_role', @level2type=N'COLUMN',@level2name=N'role_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户和角色关联表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sys_user_role'
GO
